
namespace SharpTalk.Core.Data
{
    using Enums;
    using System.Collections.Generic;
    using System;

    public interface IChatRoomDataProvider : IDataProvider<ChatRoom>
    {
        List<ChatRoom> Find(ChatRoomTypeEnum type);
        ChatRoom Find(string name);
        ChatRoom Find(string name, ChatRoomTypeEnum type);
        bool Join(Guid chatRoom, Guid user);
        void Leave(Guid chatRoom, Guid user);
        ChatRoom Update(ChatRoom chatRoom, bool definePassword);
    }
}